<template>
  <div>
    <van-nav-bar title="个人中心" />
    <section class="aui-flexView">
      <section class="aui-scrollView">
        <div class="aui-main-head">
          <img src="../assets/head5.png" alt="" style="height: 300px" />
          <div class="aui-main-user">
            <div class="aui-user-img">
              <van-uploader v-model="fileList" multiple :max-count="1" />
            </div>
            <h2>用户中心</h2>
          </div>

          <div class="aui-mon-list">
            <button @click="xingming">
              <a href="javascript:;" class="aui-flex b-line">
                <div class="aui-cou-img">
                  <img src="../assets/icon-fl-001.png" alt="" />
                </div>
                <div class="aui-flex-box">
                  <span style="float: left">姓名</span>
                  <div class="aui-arrow">
                    <span></span>
                  </div>
                </div>
              </a>
            </button>
            <button @click="xingbie">
              <a href="javascript:;" class="aui-flex b-line">
                <div class="aui-cou-img">
                  <img src="../assets/icon-fl-002.png" alt="" />
                </div>
                <div class="aui-flex-box">
                  <span style="float: left">性别</span>
                  <div class="aui-arrow">
                    <span></span>
                  </div>
                </div>
              </a>
            </button>
            <button @click="number">
              <a href="javascript:;" class="aui-flex b-line">
                <div class="aui-cou-img">
                  <img src="../assets/icon-fl-003.png" alt="" />
                </div>
                <div class="aui-flex-box">
                  <span style="float: left">手机号码</span>
                  <div class="aui-arrow">
                    <span></span>
                  </div>
                </div>
              </a>
            </button>
            <button @click="health">
              <a class="aui-flex">
                <div class="aui-cou-img">
                  <img src="../assets/icon-fl-004.png" alt="" />
                </div>
                <div class="aui-flex-box">
                  <p class="cd">健康状况</p>
                </div>
                <div class="aui-arrow">
                  <span></span>
                </div>
              </a>
            </button>
            <div class="divHeight"></div>
            <button @click="adress">
            <a href="javascript:;" class="aui-flex b-line">
              <div class="aui-cou-img">
                <img src="../assets/icon-fl-005.png" alt="" />
              </div>
              <div class="aui-flex-box">
                <span style="float:left">社区地址</span>
              </div>
              <div class="aui-arrow">
                <span></span>
              </div>
            </a>
            </button>
             <button @click="job">
            <a href="javascript:;" class="aui-flex b-line">
              <div class="aui-cou-img">
                <img src="../assets/icon-fl-006.png" alt="" />
              </div>
              <div class="aui-flex-box">
                <span style="float:left">我的职业</span>
              </div>
              <div class="aui-arrow">
                <span></span>
              </div>
            </a>
            </button>
            <button @click="messg">
            <a href="javascript:;" class="aui-flex b-line">
              <div class="aui-cou-img">
                <img src="../assets/icon-fl-007.png" alt="" />
              </div>
              <div class="aui-flex-box">
                <span style="float:left">我的通知</span>
              </div>
              <div class="aui-arrow">
                <span></span>
              </div>
            </a>
</button>
            <div class="divHeight"></div>
            <button @click="advice">
            <a href="javascript:;" class="aui-flex b-line">
              <div class="aui-cou-img">
                <img src="../assets/icon-fl-009.png" alt="" />
              </div>
              <div class="aui-flex-box">
                <span style="float:left">意见反馈</span>
              </div>
              <div class="aui-arrow">
                <span></span>
              </div>
            </a>
            </button>
            
            <a href="javascript:;" class="aui-flex b-line">
              <div class="aui-cou-img">
                <img src="../assets/icon-fl-010.png" alt="" />
              </div>
              <div class="aui-flex-box">
                <p>设置</p>
              </div>
              <div class="aui-arrow">
                <span></span>
              </div>
            </a>
          </div>
          <div style="height: 55px"></div>
        </div>
      </section>
    </section>
    <my-bottom :active="3"></my-bottom>
  </div>
</template>

<script>

import MyBottom from '../components/MyBottom.vue'

export default {
  components:{MyBottom},
  data() {
    return {
      fileList: [],
    };
  },
  methods: {
    health() {
      this.$router.push("/health");
    },
    xingming() {
      this.$router.push("/xingming");
    },
    number() {
      this.$router.push("/number");
    },
    xingbie() {
      this.$router.push("/xingbie");
    },
    adress() {
      this.$router.push("/adress");
    },
     job() {
      this.$router.push("/job");
    },
   messg(){
      this.$router.push("/messg");
    },
       advice(){
      this.$router.push("/advice");
    }
  },
};
</script>

<style>
.cd {
  float: left;
}
button {
  border: none;
  width: 100%;
  background-color: white;
}
select {
  border: none;
  float: right;
}
input {
  border: none;
  float: right;
}

html,
body {
  color: #333;
  margin: 0;
  height: 100%;
  font-family: "Myriad Set Pro", "Helvetica Neue", Helvetica, Arial, Verdana,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: normal;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

a,
label,
button,
input,
select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
  border: 0;
}

body {
  background: #fff;
  color: #666;
}

html,
body,
div,
dl,
dt,
dd,
ol,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
button,
fieldset,
form,
input,
legend,
textarea,
th,
td {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #08acee;
}

img {
  border: 0;
}

input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  outline: none;
}

li {
  list-style: none;
}

a {
  color: #666;
}

.clearfix::after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.clearfix {
}

.divHeight {
  width: 100%;
  height: 10px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.r-line {
  position: relative;
}

.r-line:after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  height: 100%;
  border-right: 1px solid #d9d9d9;
  -webkit-transform: scaleX(0.5);
  transform: scaleX(0.5);
  -webkit-transform-origin: 100% 0;
  transform-origin: 100% 0;
}

.b-line {
  position: relative;
}

.b-line:after {
  content: "";
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #e2e2e2;
  -webkit-transform: scaleY(0.5);
  transform: scaleY(0.5);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
}

.aui-flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 15px;
  position: relative;
}

.aui-flex-box {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #333;
}

/* 必要布局样式css */

.aui-flexView {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.aui-scrollView {
  width: 100%;
  height: 100%;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.aui-navBar {
  height: 44px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  z-index: 1002;
  background: #f6f6f6;
}

.aui-navBar-item {
  height: 44px;
  min-width: 25%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 25%;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  padding: 0 0.9rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  color: #808080;
  position: relative;
}

.aui-navBar-item:first-child {
  -webkit-box-ordinal-group: 2;
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
  margin-right: -25%;
  font-size: 0.9rem;
  font-weight: bold;
}

.aui-navBar-item:last-child {
  -webkit-box-ordinal-group: 4;
  -webkit-order: 3;
  -ms-flex-order: 3;
  order: 3;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.aui-center {
  -webkit-box-ordinal-group: 3;
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 44px;
  width: 50%;
  margin-left: 25%;
}

.aui-center-title {
  text-align: center;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  font-size: 0.95rem;
  color: #333;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
  border: none;
  float: left;
  background-size: 20px;
  background-repeat: no-repeat;
}

.icon-return {
  background-image: url("");
}

.m-slider {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.slider-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  position: relative;
  z-index: 1;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}

.slider-item {
  width: 100%;
  height: 100%;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: #f6f6f6;
}

.slider-item img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

.slider-pagination {
  text-align: right;
  position: absolute;
  width: 100%;
  z-index: 2;
  right: 0;
  bottom: 10px;
  pointer-events: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.slider-pagination > .slider-pagination-item {
  margin: 0 0.25rem;
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.4);
}

.slider-pagination > .slider-pagination-item.slider-pagination-item-active {
  background-color: #fff;
  border-radius: 100%;
}

.aui-palace {
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
}

.aui-palace-grid {
  position: relative;
  float: left;
  padding: 1px;
  width: 20%;
  box-sizing: border-box;
  margin: 5px 0;
}

.aui-palace-grid-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto;
}

.aui-palace-grid-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.aui-palace-grid-text {
  display: block;
  text-align: center;
  color: #333;
  font-size: 0.85rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding-top: 0.2rem;
}

.aui-palace-grid-text h2 {
  font-size: 0.8rem;
  font-weight: normal;
  color: #666666;
}

.aui-main-head {
  position: relative;
  width: 100%;
}

.aui-main-head img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}
.aui-main-user {
  position: absolute;
  left: 50%;
  top: 15%;
  width: 100%;
  margin-left: -50%;
}
.aui-user-img {
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.aui-user-img img {
  width: 100%;
  border: 2px solid #fff;
  border-radius: 100%;
}

.aui-main-user h2 {
  text-align: center;
  color: #fff;
  font-weight: normal;
  margin-top: 0.8rem;
  font-size: 1.2rem;
}

.aui-palace-one {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 100%;
  margin-left: -50%;
}

.aui-palace-one .aui-palace-grid {
  width: 33.333%;
}

.aui-palace-one .aui-palace-grid-text h2 {
  color: #fff;
  font-size: 1.2rem;
}
.aui-palace-one .aui-palace-grid-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.aui-cou-img {
  width: 25px;
  height: 25px;
  margin-right: 0.3rem;
}

.aui-cou-img img {
  width: 25px;
  height: 25px;
  display: block;
  border: none;
}

.aui-arrow {
  text-align: right;
  color: #394154;
  padding-right: 12px;
  position: relative;
  font-size: 0.85rem;
}
.aui-arrow span {
  color: #666666;
  font-size: 0.8rem;
}
.aui-arrow:after {
  content: " ";
  display: inline-block;
  height: 8px;
  width: 8px;
  border-width: 1px 1px 0 0;
  border-color: #9f9f9f;
  border-style: solid;
  -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
  position: relative;
  top: -2px;
  position: absolute;
  top: 50%;
  margin-top: -5px;
  right: 2px;
  border-radius: 1px;
}
.aui-mon-list .b-line:after {
  left: 10%;
  width: 90%;
}

.aui-footer {
  width: 100%;
  position: relative;
  z-index: 100;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 7px 5px 7px 5px;
  background: #ffffff;
  box-shadow: 0 -3px 7px #ececec;
}

.aui-tabBar-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #979797;
}

.aui-tabBar-item-text {
  display: inline-block;
  font-size: 0.65rem;
  color: #818085;
  padding-top: 2px;
}

.aui-tabBar-item-active .aui-tabBar-item-text {
  color: #363636;
}

.icon-loan {
  background-image: url("");
}

.icon-credit {
  background-image: url("");
}

.icon-ions {
  background-image: url("");
}

.icon-find {
  background-image: url("");
}

.icon-mine {
  background-image: url("");
}

.aui-footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 49;
}
</style>